package cuit.campus.taskRunning.user.entry.dto;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {
    /**
     * 用户昵称
     */
    @NotNull
    private String username;
    /**
     * 用户密码
     */
    @NotNull
    @Size(min=6,max = 10)
    private String password;
    /**
     * 用户电话号码
     */
    private String phone;
    /**
     * 电话验证码
     */
    private String verificationCode;
}
